#ifndef __BMS_ANALYSIS_H__
#define __BMS_ANALYSIS_H__

#include "bms_monitor.h"
#include "bq769x0_drv_i2c.h"
#include "rtthread.h"



typedef struct
{
	float SOC;
	float AverageVoltage;
	float MaxVoltageDifference;
	float PowerReal;
	float MaxCell;
	float MinCell;
	float CapacityRated;
	float CapacityReal;
	float CapacityRemain;
}BMS_AnalysisDataTypeDef;

extern BMS_AnalysisDataTypeDef BMS_AnalysisData;

void BMS_AnalysisInit(void);

#endif
